]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
quickSettingsMenu: Add actor group to focus manager
authorRamez Medhat <iramezdev@gmail.com>
Wed, 21 Jan 2026 15:28:22 +0000 (17:28 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 5 Feb 2026 16:09:29 +0000 (17:09 +0100)
This allows focus to menu item using the tab key to match the behaviour in other menus.
Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8904

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4043>
(cherry picked from commit 92eebde81cebfc25bdd4ef5ec1815f59598ba6bd)

js/ui/quickSettings.js

index 051294848cbf32c680f27635638e0c4ec422b827..ed6c471fe94cbb702b6ea6a42a7c2394188c1945 100644 (file)
@@ -734,6 +734,8 @@ export const QuickSettingsMenu = class extends PopupMenu.PopupMenu {
         this.actor.add_child(this._boxPointer);
         this.actor._delegate = this;
 
+        global.focus_manager.add_group(this.actor);
+
         this.connect('menu-closed', () => this.actor.hide());
 
         Main.layoutManager.connectObject('system-modal-opened',